package com.sl.water.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sl.water.dto.BPatrolRecordStaDTO;
import com.sl.water.entity.BPatrolRecord;

import java.util.List;

public interface BPatrolRecordService extends IService<BPatrolRecord> {


    List<BPatrolRecord> listByKind(String kind);

    boolean updateState(Long id, String state);

    BPatrolRecordStaDTO sta();

    Page<BPatrolRecord> pageList(int page, int size, String kind, String state);
}

